package com.powerrich.rabbitmq.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 黄雨
 * @title: RabbitConfig
 * @projectName demo
 * @description: TODO
 * @date 2019-04-1615:34
 */
@Configuration
public class RabbitConfig {
    @Bean
    public Queue Queue() {
        return new Queue("hello");
    }
}
